// 用于读写共享内存
#include <stdio.h>
#include "CommonShare.h"
#include "SysInfo.h"
#include "Tool.h"

int main()
{
    init_share();

    ArmSysInfo * tmp_ArmSysInfo = get_pShmArmSysInfo();
    printf("tmp_ArmSysInfo->CurrFreq = %s\n",tmp_ArmSysInfo->CurrFreq);
    printf("tmp_ArmSysInfo->DevName = %s\n",tmp_ArmSysInfo->DevName);
    printf("tmp_ArmSysInfo->DevtimeStr = %s\n",tmp_ArmSysInfo->DevtimeStr);
    printf("tmp_ArmSysInfo->IpAddr = %s\n",tmp_ArmSysInfo->IpAddr);


    SysInfo tmp_SysInfo;
    tmp_SysInfo.ipv4Addr2Uint32(tmp_ArmSysInfo->IpAddr);

    getSystemShellReture();

    return 0;
}